When ancient men wrote the Bible they knew very little of what we know today hence
(Genesis 1:3-5) 3?And God proceeded to say: “Let light come to be.” Then there came to be light. 4?After that God saw that the light was good, and God brought about a division between the light and the darkness. 5?And God began calling the light Day, but the darkness he called Night. And there came to be evening and there came to be morning, a first day.
6?And God went on to say: “Let an expanse come to be in between the waters and let a dividing occur between the waters and the waters.” 7?Then God proceeded to make the expanse and to make a division between the waters that should be beneath the expanse and the waters that should be above the expanse. And it came to be so. 8?And God began to call the expanse Heaven. And there came to be evening and there came to be morning, a second day.
Anything taught since is just spin.